package cn.yunhe.entity.merchantsentity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 李非凡
 * 商家账号密码实体类
 */
@Data
public class MerchantsAccount implements Serializable {
    private int mid;
    private String account;
    private String password;
    private int flag;
    //加入时间
    private Date createDate;

    public MerchantsAccount() {
    }

    public MerchantsAccount(int mid) {
        this.mid = mid;
    }

    public MerchantsAccount(String account) {
        this.account = account;
    }

    public MerchantsAccount(int mid, String account, String password, int flag, Date createDate) {
        this.mid = mid;
        this.account = account;
        this.password = password;
        this.flag = flag;
        this.createDate = createDate;
    }

}
